Builder

class Builder

Constructors

Builder
Link copied to clipboard
open fun Builder()

Functions

acceptExpired
Link copied to clipboard
open fun acceptExpired(acceptExpired: Boolean): TileRegionLoadOptions.Builder
Accepts expired data when loading tiles.
averageBytesPerSecond
Link copied to clipboard
open fun averageBytesPerSecond(averageBytesPerSecond: Integer): TileRegionLoadOptions.Builder
Limits the download speed of the tile region.
build
Link copied to clipboard
open fun build(): TileRegionLoadOptions
descriptors
Link copied to clipboard
open fun descriptors(descriptors: List<TilesetDescriptor>): TileRegionLoadOptions.Builder
The tile region's tileset descriptors.
extraOptions
Link copied to clipboard
open fun extraOptions(extraOptions: Value): TileRegionLoadOptions.Builder
Extra tile region load options.
geometry
Link copied to clipboard
open fun geometry(geometry: Geometry): TileRegionLoadOptions.Builder
The tile region's associated geometry.
metadata
Link copied to clipboard
open fun metadata(metadata: Value): TileRegionLoadOptions.Builder
A custom Mapbox Value associated with this tile region for storing metadata.
networkRestriction
Link copied to clipboard
open fun networkRestriction(networkRestriction: NetworkRestriction): TileRegionLoadOptions.Builder
Controls which networks may be used to load the tile.
startLocation
Link copied to clipboard
open fun startLocation(startLocation: Point): TileRegionLoadOptions.Builder
Starts loading the tile region at the given location and then proceeds to tiles that are further away from it.